package cn.yedong.org.domain;

import cn.yedong.basic.domain.BaseDomain;
import lombok.Data;

@Data
public class Employee extends BaseDomain {
    //员工名称
    private String username;
    //员工电话
    private String phone;
    //员工邮箱
    private String email;
    //盐值
    private String salt;
    //密码
    private String password;
    //二次输入密码：用于校验两次密码
    private String comfirmPassword;
    //年龄
    private Integer age;
    //默认禁用状态  禁用0  启用1
    private Integer state = 0;
    //上级部门id
    private Long department_id;
    //关联查询 => 所属部门
    private Department department_name;
    //登陆信息id
    private Long logininfo_id;
    //店铺id
    private Long shop_id;

    //角色ID【用于员工表管理查询角色：在sql中关联查询角色表给其赋值】
    private Long role_id;
    //角色名称【在列表展示时展示角色】
    private String role_name;
}
